import request from '@/utils/request'
// 创建解决方案
export function save(data) {
  return request({
    url: '/theSolution/save',
    method: 'post',
    data: data
  })
}
// 修改解决方案
export function updateTheSolution(data) {
  return request({
    url: '/theSolution/updateTheSolution',
    method: 'post',
    data: data
  })
}
// 删除单个解决方案
export function deletes(id) {
  return request({
    url: '/theSolution/delete/'+id,
    method: 'get'
  })
}
// 解决方案列表
export function getSolution(params) {
  return request({
    url: '/theSolution/page',
    method: 'get',
    params:params
  })
}

export function getList(id) {
  return request({
    url: '/theSolution/get/' + id,
    method: 'get'
  })
}